package com.bjsdzk.collector.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author sl
 */
@Data
public class UpdateRealTimeData {
    private String companyId;
    private String deviceId;
    private int type;
    private Object value;
    private String currentTime;

    public UpdateRealTimeData(String companyId, String deviceId, int type, Object value, String currentTime) {
        this.companyId = companyId;
        this.deviceId = deviceId;
        this.type = type;
        this.value = value;
        this.currentTime = currentTime;
    }
}
